Interface: ExecutionResult
Auto.js Pro 9 Docs / shell / ExecutionResult
Interface: ExecutionResult
shell.ExecutionResult
Shell command execution result. Returned by exec and exec.
Table of contents
Properties
Properties
code
• Readonly code: number
Exit code of the command. 0 means success, other values mean failure.
output
• Readonly output: string
Output of the command. Includes standard output and standard error.
stderr
• Readonly stderr: string
Standard error of the command.
stdout
• Readonly stdout: string
Standard output of the command. For example, ls command's stdout is a list of files.
